<?php
// $Id$

/**
 * Form_UploadGoodsWeb 表单
 */
class Form_UploadGoodsOnshelfWeb extends QForm
{
    function __construct($action)
    {
        // 调用父类的构造函数
        parent::__construct('form_uploadgoodsonshelfweb', $action);
 
        // 从配置文件载入表单
        $filename = dirname(__FILE__) . '/uploadgoodsonshelfweb_form.yaml';
        $this->loadFromConfig(Helper_YAML::loadCached($filename));
        $this->addValidations(GoodsOnshelf::meta());
    }
}


